package com.gaoyuzhe.controller;

import com.gaoyuzhe.message.IMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gaoyuzhe
 */
@RestController
public class SendMessageController {
    @Autowired
    private IMessageService iMessageService;

    @RequestMapping("/send")
    public String sendMessage(){
        return iMessageService.send();
    }
}
